// 任务类
export default  class Tasks {
  id: number
  //任务名称
  name: String
  //任务状态：是否勾选
  checked: boolean

  constructor(id: number, name: string) {
    this.id = id
    this.name = name
    this.checked = false
  }
}